Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/unit tests #15

Merged
merged 17 commits into from
May 19, 2023
Merged

Feat/unit tests #15

merged 17 commits into from
May 19, 2023

Conversation

zbigniewsobiecki
Copy link
Collaborator

  • initial set of tests - test prompt config parsing and template handling
  • restructured the source code layout a bit
  • added max_tokens, temperature, top_k and top_p options in command line
  • added DEFAULT_MAX_TOKENS, etc as options in .prr_rc as well

examples/shebang/write_tests Outdated Show resolved Hide resolved
prr/__main__.py Outdated Show resolved Hide resolved
prr/runner/__init__.py Outdated Show resolved Hide resolved
prr/prompt/service_config.py Outdated Show resolved Hide resolved
prr/prompt/prompt_loader.py Outdated Show resolved Hide resolved
prr/prompt/prompt_config.py Outdated Show resolved Hide resolved
prr/prompt/__init__.py Outdated Show resolved Hide resolved
test/prompt/test_prompt.py Outdated Show resolved Hide resolved
@meal
Copy link
Contributor

meal commented May 19, 2023

lgtm now, just fix conflicts :)

@zbigniewsobiecki zbigniewsobiecki merged commit 2306eff into main May 19, 2023
@meal meal deleted the feat/unit-tests branch May 19, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants